package io.terminus.spzx.common.annotation;

import io.terminus.spzx.common.interceptor.UserTokenFeignInterceptor;
import org.springframework.context.annotation.Import;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * @author lichunlong lcl253137@alibaba-inc.com
 * @desc 启动OpenFeign远程调用事，传递request header token的拦截器
 * @date 2024-11-18
 */
@Retention(value = RetentionPolicy.RUNTIME)
@Target(value = ElementType.TYPE)
@Import(value = UserTokenFeignInterceptor.class)
public @interface EnableUserTokenFeignInterceptor {

}
